﻿using CoreDomain.BusinessCore;
using DomainService.IService.Sys;
using Infrastructure.IRepository.Sys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Utility;

namespace DomainService.Service.Sys
{
    /// <summary>
    /// 菜单数据列服务接口实现
    /// </summary>
    public class SysMenuTableColsService : ISysMenuTableColsService
    {
        #region 构造实例化

        //仓储接口
        private readonly ISysMenuTableColsRepository _sysMenuTableColsRepository;

        /// <summary>
        /// 构造函数 实现依赖注入
        /// </summary>
        public SysMenuTableColsService(ISysMenuTableColsRepository sysMenuTableColsRepository)
        {
            _sysMenuTableColsRepository = sysMenuTableColsRepository;
        }

        #endregion

        #region 服务实现

        /// <summary>
        /// 反射同步数据列
        /// </summary>
        public ReceiveStatus ReflexSynchronousCols(string corporationKey, string systemKey)
        {
            return DataColsCore.SynchronousCols(corporationKey, systemKey);
        }

        #endregion
    }
}
